export default [{
  path: "public",
  component: () => import("/@/views/public/index.vue"),
  redirect: "/public/matter",
  children: [
    {
      path: "matter",
      component: () => import("/@/views/public/matter/index.vue"),
      redirect: "/public/matter/aptNoticeNotice",
      children:[
        {
          path: "aptNoticeNotice",
          component: () => import("/@/views/public/matter/components/aptNotice/notice.vue"),
        },
        {
          path: "aptNoticePublish",
          component: () => import("/@/views/public/matter/components/aptNotice/publish.vue"),
        },
        {
          path: "safetyNotice",
          component: () => import("/@/views/public/matter/components/safety/notice.vue"),
        },
        {
          path: "safetyPublish",
          component: () => import("/@/views/public/matter/components/safety/publish.vue"),
        },

        //注册证书
        {
          path: "constructorNotice",
          component: () => import("/@/views/public/matter/components/constructor/notice.vue"),
        },

        {
          path: "constructorNotice2",
          component: () => import("/@/views/public/matter/components/constructor/notice.vue"),
        },
        {
          path: "constructorNotice3",
          component: () => import("/@/views/public/matter/components/constructor/notice.vue"),
        },
        {
          path: "constructorNotice4",
          component: () => import("/@/views/public/matter/components/constructor/notice.vue"),
        },

        {
          path: "constructorPublish",
          component: () => import("/@/views/public/matter/components/constructor/publish.vue"),
        },
        {
          path: "constructorPublish2",
          component: () => import("/@/views/public/matter/components/constructor/publish.vue"),
        },
        {
          path: "constructorPublish3",
          component: () => import("/@/views/public/matter/components/constructor/publish.vue"),
        },
        {
          path: "constructorPublish4",
          component: () => import("/@/views/public/matter/components/constructor/publish.vue"),
        },

        {
          path: "register",
          component: () => import("/@/views/public/matter/components/enter/register.vue"),
        },
        {
          path: "contract",
          component: () => import("/@/views/public/matter/components/enter/contract.vue"),
        },



      ]
    }
    ,
    {
      path: "department",
      component: () => import("/@/views/public/department/index.vue"),
    }
  ]
},
  {
    path: "foreign/:id",
    component: () => import("/@/views/public/foreign/index.vue")
  },
  {
    path: "notice/:id",
    component: () => import("/@/views/public/notice/index.vue")
  }
]

